package com.example.eurekaconsumerfeign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "eureka-producer", fallback = ConsumerServiceHystrix.class)
public interface ConsumerService {

    @RequestMapping(value = "/hello")
    String hello();
}
